package com.miao.common.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * 首页降价商品表(Reduction)表实体类
 *
 * @author MiaoWenQing
 * @since 2021-02-19 00:17:19
 */
@SuppressWarnings("serial")
public class Reduction extends Model<Reduction> {
    //下标
    @TableId(type = IdType.INPUT)
    private Integer postion;
    //商品id
    private String proId;
    private String redId;

    public Integer getPostion() {
        return postion;
    }

    public void setPostion(Integer postion) {
        this.postion = postion;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getRedId() {
        return redId;
    }

    public void setRedId(String redId) {
        this.redId = redId;
    }

    @Override
    public String toString() {
        return "Reduction{" +
                "postion=" + postion +
                ", proId='" + proId + '\'' +
                ", redId='" + redId + '\'' +
                '}';
    }
}
